<template>
    <el-table-column label="修改时间" width="230" align="center">
        <template v-if="scope.row['lastModifyTime']" slot-scope="scope">
            <span>{{msFormat(scope.row['lastModifyTime'])}}</span>
        </template>
    </el-table-column>
</template>

<script>
    import moment from "moment";

    export default {
        name: "FileModifyTimeColumn",
        methods:{
            msFormat(time){
                return moment(time).format('YYYY-MM-DD');
            },
        }
    }
</script>

<style scoped>

</style>
